package cn.kinoko.model.email;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * @author kk
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Mail {

    private String to;
    private String subject;
    private String content;
    private String attachmentName;
    private byte[] attachment;

    private Map<String, Object> templateParams;
    private String templateName;

}
